package com.dd.ms.auth.pojo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author liuxianmeng
 * @CreateTime 2025/7/9 16:14
 * @Description 批量添加角色权限 请求类
 */
@Data
@ApiModel(description = "批量添加角色权限 请求类")
public class RolePersBatchAddReq {

    @ApiModelProperty(
            value = "角色数据库自增id",
            required = true,
            example = "1",
            position = 1
    )
    private Long roleId;

    @ApiModelProperty(
            value = "批量权限数据库自增id",
            required = true,
            example = "[1,2,3,4,5]",
            position = 1
    )
    List<Long> permissionIds;
}
